package com.vinhvt.effiport.algorithm.genetic;

public class GAsParameters {
	
	/** The Constant number of tournaments. */
	public static final int TOUR = 50;
	
	/** The Constant POPULATION indicates number of individuals in each of generation . */
	public static final int POPULATION = 100;
	
	public static final int PUNISHMENT = 225;
	
	/** The Constant Probability of Occurrence. */
	public static final double PO = 0.5;
	
	/** The Constant Probability Crossover. */
	public static final double PC = 0.8;
	
	/** The Constant Probability Mutation. */
	public static final double PM = 0.1;	
	public static final double WPM = 0.05;
	
	/** The Constant INDIVIDUAL SIZE indicates number of Gene (asset) in each of Individual (portfolio) */
	public static final int INDIVIDUAL_SIZE = 3;
	
	/** The Constant GENE_MAP_SIZE. */
	public static final int GENE_MAP_SIZE = 3;
		
	/** The Constant WEIGHT_BITS_LENGTH. */
	public static final int WEIGHT_BITS_LENGTH = 7;
	
	/** The Constant GENE_LENGTH. */
	public static final int GENE_LENGTH = 12;
	
	/** The Constant MAX_FITNESS. */
	public static final double MAX_FITNESS = 50.0;
	
	/** Risk Aversion */
	public static final double RISK_AVERSION = 0.15;
	
	/** Expected Return */
	public static final double EXPECTED_RETURN = 0.15;
	
	/** Don't Filter anything */
	public static final int MODE_DEFAULT = 0;
	
	/** Filter by DAY */
	public static final int MODE_DAY = 1; 
	
	/** Filter by WEEK */
	public static final int MODE_WEEK = 2; // filter b
	
	/** Filter by MONTH */
	public static final int MODE_MONTH = 3; 
	
	/** Filter by YEAR */
	public static final int MODE_YEAR = 4;
			 
}
